using System;
using System.Collections.Generic;

namespace Daniel.Core.Models
{
    public partial class Product_ProductAttribute_Mapping
    {
        public Product_ProductAttribute_Mapping()
        {
            this.ProductVariantAttributeValues = new List<ProductVariantAttributeValue>();
        }

        public int Id { get; set; }
        public int ProductId { get; set; }
        public int ProductAttributeId { get; set; }
        public string TextPrompt { get; set; }
        public bool IsRequired { get; set; }
        public int AttributeControlTypeId { get; set; }
        public int DisplayOrder { get; set; }
        public Nullable<int> ValidationMinLength { get; set; }
        public Nullable<int> ValidationMaxLength { get; set; }
        public string ValidationFileAllowedExtensions { get; set; }
        public Nullable<int> ValidationFileMaximumSize { get; set; }
        public string DefaultValue { get; set; }
        public virtual Product Product { get; set; }
        public virtual ProductAttribute ProductAttribute { get; set; }
        public virtual ICollection<ProductVariantAttributeValue> ProductVariantAttributeValues { get; set; }
    }
}
